package se.vgregion.velocity.hook.regioncalendar.util;

import se.vgregion.velocity.hook.regioncalendar.model.RegionCalendarFeed;

/**
 * @author Patrik Bergström
 */
public class RegionCalendarUtilTest {
    //@org.junit.Test
    public void testParseFeed() throws Exception {
        RegionCalendarFeed regionCalendarFeed = RegionCalendarUtil.parseFeed("http://regionkalender.vgregion.se/regionkalender/main.nsf/atom?openagent&text=gothia%20forum&days=360&place=(%5BtxtSpot%5D~G%C3%B6teborg)", 10);
//        RegionCalendarFeed regionCalendarFeed = RegionCalendarUtil.parseFeed("http://regionkalender.vgregion.se/regionkalender/main.nsf/atom?openagent&text=gothia%20forum&days=360&place=(%5BtxtSpot%5D~G%C3%B6teborg)", 10);

        System.out.println(regionCalendarFeed);
    }

    //@org.junit.Test
    public void testParseFeedAllEntries() throws Exception {

    }
}
